#ifndef _IMPORT_H_
#define _IMPORT_H_
#include "python3/PythonGrammar30TreeConstants.h"
#include "ast/stmtType.h"
#include "ast/aliasType.h"
#include "AstTypes.h"
class IVisitor;
class Import;
typedef QSharedPointer<Import> ImportPtr;

class Import: public stmtType
{
public:
    explicit Import(const AliasTypeList& names, int nodeId=JJTIMPORT);
    virtual ~Import();
    
    
    AliasTypeList names();
    void setNames(const AliasTypeList& names);
    
    
    virtual Ast::AstTypes type() const;
    virtual QString toString() const;
    virtual void accept(IVisitor* visitor, const SimpleNodePtr& node);
    virtual void traverse(IVisitor* visitor);
private:
    AliasTypeList _names;
};




#endif